adding log to up_down method