made response file more functional