add function which сhecks point in list