expose function