Refactor am_pm_response to be a shorter method.