A three-arm stratified cluster-randomised trial was conducted in 36 primary healthcare facilities from September 2010 to March 2012 within two rural districts in northeast Tanzania where malaria transmission has been declining .