limit number of operations