made changes to tactile_crm.rb algo