change to only one attribute table