Implementing Ad Hoc logging
Added free logging