implemented rules 2,6,8 - rough rules should be all done