- cast dates as datetimes
- commented on code smell