add functional to med.card constructor (admin side)