tried implementing table