removed unnecessary function prototype