added restrictions to example