Start of actual functionality.