change env implementations to assoc list