381 Lab 6 source code, using OPT for CUST