Finished adding guard to the project