changed a couple spots to SK_ARRAY_MAX