add getExpreiion func, not finished yet