restrictions class