made use of clear() method in ultimatum;