i think we should remove this or put it into logger