introduced raphael and g.raphael; old code commented