to be reviewed, further testing and optimation needed Thanks to Moehwald GmbH B.Benner for Basic Code