try porting export Sprite so made basic corrections