use the gloabl env if available for maybe-class