almost complete double/int issue remain