Try this, apparently last method didn't work on arrays