implementing cut flow