added height and width to frame