Fixed for compiling, changed getACK return type from void to int to verify if method was correctly executed