updated for logs