changed log base to 2