structure and printenv added