Debugged and working but duplicate messages