last commit of night; need to start working on quantitative measure of smaller, factor out Case into forall