extend SDL example