added parameters to win square