#6 checking if method returns arraylist