added output messages and converted single quotes to double quotes