test double pointer concept