adding attributes and properties