Made the output messages case
Formatted layout of messages output, removed unneccesary variables