added getSprite call