mdify like functionality