worked on frames generator