Changed most instances of s.find('z') into 'z' in s