forked from: Arbitrary formula player

