added type to arraylist declarations