start of background tabs stuff