removed legacy code from project