made public for the dll