refactored_code_moved_into_functions_sessions_are_working_properly_now