added option for rate