parser with bags