edit syntax of frame