added array and classlist