added respond functions