better solution 1602, thanks Alan