changed from console to windows