"logic" to "method"