(almost) finished with the statement parsing