segmentation fault? also, that last commit was bad behavior