added code to reflect some of the hmi changes