added debug level to print out generated axis