ohm model, problem with find, index workaround