working loading of content in the background