sample of refactor for fluent interface