seems to work
reinstate the time limitation on finding bases