added clear method for parameter class