add properties to each view