removed unneeded line and changed the string search method for whispers