initial code added