Delete message function part 2