Small change to function declaration to make compilable