think I worked out the bugs.