basic lasso tool implementation