add global event listeners
update docs