return type changed from boolean to void