code 764 and 767