static methods for Console