added __init__ to datetime variable