`obj` isn't actually used anywhere in this function. i assume that's not intentional?