added debugging notes