adding a rough parseAttribute.go