Added accept_callback