formatting m-card