Modify the parseStatement and parseStatements so that both returning a list of objects