updated example code to be less confusing