revert the single primitive array versions