remove a superfluous function