Parse periods. Slight clean-up.