responds accordingl