simplify method call using extension method