change variable order of opI function