ha, had to reverse order of event listeners