add displayPath, clearPath API