removing superfluous parameters