added a working loggy