first commit
legacy code added