more debug coding