add only one pointer functionality