imprement function for increasing the time