added return statement to printmessage.c