Change function return type to void to fix warning