add defines in mtypes