added more debug lines
start writing