clear and clear all implemented