Added excluding functionality