@Tschanzt This function is no really tested