Initial commit
initial working version
fixed log placement