Getting two different frames in memory at same time