more by accident than design

more by accident than (by) design

because of luck and not because of skill I kicked the ball and, more by accident than design, it found its way into the net.
See also: accident, design, more