pretty sure I should not be redeclaring what the time is