added debuglines