removed old duplicate craftinghandler code