adding 'default options' behavior and minimal testing