#25 add clear API on controller