make gas if DMptype has g in it.