Jake's almost-finished program