updated to current contact logic
corrected filter syntax