added option of pre-check