Also, wouldn't it make sense to create parser on the previous line and use it in both cases?