modified for longer run