added pendulm example