Added extra stuff

check duplicate
isEOT
processData
sendData is not completed