added comments for hook methods