Now possible to use arraylists