HRS with Database