printing random lead on console
minor changes