added more beauty to code and output!