Define basic flow