added first version of "log"