index: use response class