expanding series
refactoring series