changes to this method are rather critical @icewind1991 your call - THX