added victory condition and message