hook library