num as pointer