setup and stdcal window