Following the Kehoe tutorial