Made changes in table assignment