who calls this? There is no main function for this file.