some testing to get the wsd working..removed swingworker because of sync error on written files