function spitting the info out