re-factor method call