starting to flesh out the routing callbacks