Added check for negatives, checking results on Integer