add set/get attribute

it doesnt break anything so yeah