add somemethods for table catergory