Added state for handling whitespace around dot