used experiments/main.cpp to answer some misc. stuff quickly for a question.