we should put the if statements at the call-sites. No need to call this method if it's not needed.