added defaultElement to options