added filters and updated global