add declare of function