validation for principal and time added