storing attributes in annotations