added date to main activity class