Added log functionality