check branches are correct, add management layer