implemented attribute handling