generating responce