why don't we just define the return object and then add the rows object in an if then statment, much less confusing that way.