Table:
| increase (decrease) | Change between Fiscal increase (decrease) |  |
| --- | --- | --- |
| (In thousands) | 2019 and 2018 | 2018 and 2017 |
| Payroll and payroll-related benefits | $(48) | $48,717 |
| Commissions | (6,588) | 16,993 |
| Contract labour and consulting | (871) | 609 |
| Share-based compensation | (752) | (454) |
| Travel and communication | (1,113) | 271 |
| Marketing expenses | (5,742) | 3,880 |
| Facilities | 808 | 8,373 |
| Bad debt expense | 3,519 | 4,013 |
| Other miscellaneous | (319) | 2,285 |
| Total change in sales and marketing expenses | $(11,106) | $84,687 |
Paragraphs:
Sales and marketing expenses consist primarily of personnel expenses and costs associated with advertising, marketing events and trade shows.
Sales and marketing expenses decreased by $11.1 million during the year ended June 30, 2019 as compared to the prior fiscal year. This was primarily due to (i) a decrease in commissions expense of $6.6 million, of which approximately $8.9 million is the net result of the Company capitalizing more commission expense under Topic 606, whereas previously, under Topic 605, such costs would have been expensed as incurred, (ii) a decrease in marketing expenses of $5.7 million and (iii) a decrease in travel and communication expenses of $1.1 million. These were partially offset by (i) an increase in bad debt expense of $3.5 million as certain low dollar receivables were provided for entirely as they became aged greater than one year. Overall, our sales and marketing expenses, as a percentage of total revenues, decreased to approximately 18% from approximately 19% in the prior fiscal year.
Our sales and marketing labour resources increased by 103 employees, from 1,948 employees at June 30, 2018 to 2,051 employees at June 30, 2019.
Question:
What does Sales and marketing expenses consist primarily of?
Answer: personnel expenses and costs associated with advertising, marketing events and trade shows