Added compass enviroment and example