commit before refactoring rest api