printAsArray working again