added accessor for the environment element pg. 246 of api doc (missing)