add clear command as visible function