Removing log function