items to variable instead of class attribute