Difficulties with bb47. Going to try to use Joe's code.