implementation for Table