added two example weighted pdf