Added sample Raphael functionality