logging and use new uniform method