support default param value, added api