removed the use of an old builtin function