properly handly skipped values, allow for arrays and error for anything else