input.c added self messages