added time variable to test