[module: Library] add validations