changed home1 and home2 format