DLL prototype. Not finished yet