used navigation bar instead of table