get function complete