Added weighted Option