v1.2

added the clear function