What are the causes of discharge?