haar and swt working