Updated example, fixed View bug