damn integer overflow may be removed