Specifying object properties with an equation