Refactor + added compiling to edit_round.