added time and now trying to sort out validate