SDL stuff added