Added createItem call.
Removed an old print debug statement.