preliminary raphael code, piece images