moved code to a racket file