use attributes as object keys