added option to check term