here's a dirty refactor on the ability we were stuck on