some more code for other attributes