Controlling inflation via monetary policies