added hook feature to GUI