added time check to price