no need to use this. just write case 'maxLength'.