changed argument type to be pointer (typo fixed)