Fixed a comment, removed an unnecessary function