modified session library to reflect time