mainedited