add adding echo function after log variable.