added custom constraint RestrictedLength