Moved restrictRead