simplified a few lines of code