I'm not sure why you added this cast to `int` here as it's not necessary.