add domain level PMing and make changes to layout