iterate over leg options instead of manually handling them all
whoops! don't use underscore, it is not a dependency of this project!
write some tests re: #19
clean up/improve some of the other tests