Add Legend system
Correction : Pagination problem