Added T parameter for custom time