modify method params