got basic flow working