changed code which displays extra information . Instead of concatinating parameteres
used format specifiers