pass WriteInfo to callback function
semicolon