background and removed a lot of nonsense