apparently i had log_b but not log_2 :|