working on hm select