finished log regression