Debug log prints added