implement table demo