added some default parameters