offloading callback to bot main