continued work on mesh class