prototype of fill.frame is done