Corrected pointer arguemnt type