Some updated racket code, feat. G Baum