added the luscious filter_by_distance
did some good changes to main block source file