add modular approach to input files
change all branches to float