Version #11

This is based on Version #8 with a lot of modifications. 2005-06-05