Create Console Codes(thread sleep)