adding set default method