export the correct callbacks