adding more table functionaity