add some methods and routes