why did object parsing get into this function? you have a whole parser for doing that