added polymesh class