added event.preventDefault()