3 working classes.  one array and one arraylist