Still trying to work out what is wrong with edoc.