Adding more debugging messages