a few geometry things