started adding some tests
linting
simplify logic
more linting
more linting
finished linting everything