finish Clear implementation