implement for and ranges
update readme with for information