modified the structure of HOME