Hello Andreas! Could you please have a look at Maarten's dssp package and upload it in case you like it? Maarten did a really good job, I have had a look at it too, it seems all right to me (I checked it every way I could). Thank you Maarten, thank you Andreas! Best regards, Laszlo