modify parser code