Working through OPTAA functions