builds
tweak to make the code smaller
nah, go back to just switch/case
remove console.log
fix coverage
add travis