as mentioned above, please remove this function since it stores duplicative information. instead, you can have a local variable 'time' initialized just like you do here in your main function.