little more work on ebayes