updated example, it's still a work in progress