removed CallbackMethod code