Added response checking before proceeding it