added ability to set default value via options