add display verbose or not function