takin: use String#ord to avoid hardcoding codes