proc test(y: int): int = var x = 5 result = x + y result -= 5 echo test(3)