more work on routes and views