work in progress on the more intelligent