Some tweaks with pointers