skelton of frame - window - buffer