wrapper for windows console