removing unnecessary functions + dir ignore attempt