legenden+design, robuster code
added brülhart credits