Added functions to create routes