sscanf for the rescue