wrote attribute list parsing code