removed dead code, added name to license statement