add log usage and TODO