mesh generation and datainput edits