loggind and code cleaning
TODO: expand only most confident patterns
Merge remote-tracking branch 'choose_remote_name/master'