helper for microsoft programming