programming methods for ai 695145