modified methods

We no longer need to return boolean types for methods, so modified them to return void. Re-commented a bit to make it easier to understand.