passing pointer instead of reference...