Change input string for const string
Change guard and realing code