using defined? instead of explicit version to allow monogoid 4 to work (and future)