As a matter of style:

1. you can write `if not(this: isEmpty())`
2. space is good :-) (`) { ` vs `){`)