Importing constants.h for usage in the project and added the onCompletion block as a constant