Delete unless res
Add library compatibility