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