handles basic params.