#! finalize code