var -> ptr

Is that good? 'var' is inappropriate in the cases where 'nil' is a valid input as it requires ugly casts to be performed.