playing around with a class and arrays