initial SWT implementation