Added sprite code (Currently does not work)