added lubridate requirement