Assigned result to int on line 24