2nd try: added helper methods for datetime and urls