It fails to compile if not casted as long here