step one for parsing