Some logic for following. Not terribly good.