basic parsing stubbed out, need to complete implementation