added option to exclude cost text box