finalize instructions