Fixed variable and adding log