Fixed example, now working correctly.