added "delete" function

* that is, added, documented, tested
* used functions getRequired* and removed extra ";"
* put hk1.7 everywhere