Added events and drag