parsing multyple blocks with the same name