fixing up some of the leap input, but still not great