warning and string func