added coins and exit on victory