Added String compare function