added example block and fixed cat filtering