Finished the code for the use case, can't test compile