added rotating cube example... code should compile