public static void print() {
		int counter = 1;
		while (true) {
			System.out.println("Counter: " + counter++);
			try {
				Thread.sleep(1000); // sleep for 1 seconds
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}

	}