Tested the code and finalized.