found solution to #12; fixed type-o in #3 that didn't cause it to be wrong