Initial code with SDL