removed unnecessary function syntax