in the process of adding array list compatibility