type Foo = ref object x, y: float var f: Foo new f