solving INT overflow error