CODE COMPLETED