Working on dynamic sub-frames