made a printer for the elements