sales and glass functions