Is the list held in a global variable?
How is ItemType defined?
Are you on a course?