added rules for win