refactor out initializer params
refactor parse params to remove a condition