clean up slightly and add restricted region