events declaration
events declaration
legend drawing