Implement data structure