added minor func