added branches and improved cutflow