Changed DLL and added init validation
Added init validation