added my revision of SDL