Added Debug Lines to Frew Code