adjusted definition of contact callbacks to new API
removed logic