add home direction switch