potential base code in c with guile for ld31