clean up example and view