Implementation different data structures