CS523 project - HA for the RM