add null to get function