Removed unused variable. Used variables in display message.