removed join_env