splitting stuff out
breaking this stuff up into smaller bits