changed string.contains to equals (forgive me)