implemented exponents for logs and updated number logs