Added incomplete log function