console callbacks