added tendency feature, but may be changed