added logs, added deadlines, added check of exist good