updated getdata w filter