Added in foundation for winning logic