Patent engineering