added comment to endSale