Fixed errors for item.
Now compiles and runs.