added 1st function to the repo.