you're using slots[] instead of Slot[]. Java is very picky on exact spelling and is case sensitive (there's an extra s at the end and the first s isn't capitalized).