Implement table functions