implemented background fetch