Still weird errors, added to event handlers