start work on automatically creating the hooks