finally work in the background!!!!