functions in string and stdio is moved to utils