Started some experiments

And some improvements and bugs fixed.