changed send to check for last occurance of to