initialized time  variables
commented code