Added debugging stuffs