the first objective was to see a bounding box with its respective legend, but the final objective is to make a dinamic factory for all the shapes