working on region selection