made changes to arraymaker that allow it to compile