fixed plygin
some simple changes
final style revisions #mark1'