Added debugging cout's