added extend capability to Sprite