Added a clear method