added function to get Sprite