Added lots of tweakable parameters