Untestable functions added to the top of the file