added copyright headers + removed unnecessary code