restructured by tips from Damir