added selection of size and region