fixing previous pull request