added a simple parser