Thoughtworks interview question

add feature/API to existing code