corrections as suggested in reply from Simonas Kazlauskas