makeMeD function better