Finished the CompleteFunction