fixed log, added more operators, added id