require first and last in restricted