added some debugging messages to pls