should return 1 if string is 1