Redo room template encoding