work on session length helper