modify console display change to method