Tested Final Codes