change resolve function parameters