give default callbacks function