refs #44: small refactor, not calling find twice per inline call anymore
refs #44: even better performance