add hr to condition