'status' is a reserved word in arduino so changed to mainBuf