use an existing function