Changed structure and added ej1 (histograma)