change int to void