starting to work on the running of the hooks