added time method skeleton