fixed string method and passed last test