clarified how to handle attributes