arraylist instead of vector
all 'int width, height' turned to Rectangle objects