added point filtering