added debug_and_release