Changing params order to map Method : key, value