call release and add release methods to the library