as if it were happening clientside