using a buffered writer
using a buffered writer
deffined logging