UPDATED removed unnecessary code.