accomplish the pointer for parameter and return value