codes to manually select anchor points