Added init for attributestring