Added clear api