final tweaks and a statistical test