Using time variable