added purge command