finalising if param evaluation