Vauge background logic. Needs to be revised.