Changed over to arraylist for simplicity sake