#8 building out the handler functions