updated debug messages;

still having some difficulties with pointers;