use new callback 'ready'