deleted undefined functions