ctype from C lib implemented