getting basic functions for windows setup