leap: all tests passing, kinda dirty