added a .attributes() functions