result types are now objects