Code

Add to the main application source file, before any functions: