some feedback on hook creation
minor cleanup