hopefully better function recognition. modtweaker