ROI works, but still needs to be checked for consistant results, some minor tocuhes on the naming of the input functions