Updated 3 for SDL support