Trying to finalize code.