Code fix for proper response and ACK code added