Added debug entry point