Added Hook Functionality