These are my custom functions.