If we don't combine the functions (as proposed above), consider creating a variable to hold this value, as you did with `sessionDuration`?