working i-frames p-frames with current cfg