Programming multiple frames