Removed an unnecessary function call