use function to invoqe unite