first version of log process