created constructors and arraylist for racks