Changed to correct "get time" method