Edited the swing worker