added code for default responses