finally working, no importance sampling, etc.