First iteration of lot resolving functionnal