add logs and callback options