removed legacy code added new line