passing arguments as dict.