inline method into its only use and simplify the result.