meagan: basic flow working…fixing bugs