reworking markedit