added confidence weighted