finalize for usage