added defaults() method