sutble changes to the code making it a little less bloated.