trying to finalize environments structure