added demo - simple weighted means