Beginning of creating attribute tables