add type property and method