refactoring on methods signatures of builder