This entire event listener can probably go.