Removing undeclared function