attr function

Extract cubble attributes