removed hooks functionality