trying to debug the problem