added "stop and jump to the end" feature