removed junked functions