mod spec to preserve integer arrays