adding win points constant and some flags