Added clear method at the end of the method

Clears the method to allow for a new method call