removed unnecessary function call