HR Updated code