clear now takes parameters