weirdness and debugging