Added comments, and the create targets function is now working