moved response message to single place