Leaflog

Working version of leaflog