how to add attributes