changing void response method