modified the hierchy of the poms