changed demo for classes 1 and 2 instead of 1 and 7