corrected order of method parameters with defaul value