working on block parsing