Callbacks: Converted string terminator to lambda