Added log prints