added simple validation
validation via timestampe and customise vailidation