changed order of table