renamed default to def to prevent IE error