added quad mesh snippet