Create clear method so it re-initializes the variabes